package com.buba.mapper;

import com.buba.pojo.Dept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.buba.pojo.other.DeptChildren;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 部门表 Mapper 接口
 * </p>
 *
 * @author MrJia
 * @since 2020-10-27
 */
@Repository
public interface DeptMapper extends BaseMapper<Dept> {

    List<DeptChildren> selectDept (@Param("id") String id, @Param("level") String level);
}
